<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>每日医疗记账详情核算</title>
</head>
<body>
	<table class="easyui-datagrid" id="tally_Detial_AccountTable"
		data-options="singleSelect:true,height:'88%',width:'100%',
	                border:false,
					">
		<thead>
			<tr>
				<th style="width: 13%;"data-options="field:'tallydetailsid',align:'center'">详情单号</th>
				<th style="width: 13%;"data-options="field:'chargecodeid',align:'center'">收费代码</th>
				<th style="width: 9%;"data-options="field:'chargename',align:'center'">收费项目</th>
				<th style="width: 9%;"data-options="field:'feetype',align:'center'">费用类型</th>
				<th style="width: 6%;" data-options="field:'unit3',align:'center'">单位</th>
				<th style="width: 6%;" data-options="field:'price3',align:'center'">单价</th>
				<th style="width: 6%;" data-options="field:'number',align:'center'">数量</th>
				<th style="width: 7%;" data-options="field:'sum',align:'center'">总计金额</th>
				<th style="width: 9%;"data-options="field:'tallydetailsstatus',align:'center'">核算状态</th>
				<th style="width: 24%;"data-options="field:'as',align:'center',formatter:TallyAccountHandle">操作</th>
			</tr>
		</thead>
	</table>
	
<script type="text/javascript">
	//操作按钮
    var TallyAccountHandle = function(value,row,index){
    	var btn1 = "<input onclick='Startaccount("+ index +")' class='TallyAccount_bt'  type='button' value='核算'>";
    	var btn2 = "<input onclick='deleteTallyDetial("+ index +")' class='TallyAccount_bt'  type='button' value='删除'>";
	return btn1 + btn2 ;
	}
</script>

<style type="text/css">
	.TallyAccount_bt{ 
	margin: 2px 8px 2px 0px;
	height:25px;
	border-radius: 3px;
	font-size: 14px;
	border: 1px #3366FF solid;
	background: #3399FF;
	color: white;
	}
</style>
</body>
</html>